from django.conf.urls.defaults import *
from atschool.apps.littlething.models import Thing
from django.views.generic import list_detail

info_dict = {
    'queryset': Thing.objects.all(),
}

urlpatterns = patterns('',
    (r'^$', list_detail.object_list,dict(paginate_by=25,**info_dict)),
    (r'^(?P<object_id>\d+)/$', list_detail.object_detail, info_dict),   
    (r'^create/$', 'atschool.apps.littlething.views.create_entry'), 

)
